3.149 \(\int \frac{1}{x^2 (a+b x^3+c x^6)} \, dx\)

Optimal. Leaf size=610 \[ -\frac{\sqrt [3]{c} \left (\frac{b}{\sqrt{b^2-4 a c}}+1\right ) \log \left (-\sqrt [3]{2} \sqrt [3]{c} x \sqrt [3]{b-\sqrt{b^2-4 a c}}+\left (b-\sqrt{b^2-4 a c}\right )^{2/3}+2^{2/3} c^{2/3} x^2\right )}{6\ 2^{2/3} a \sqrt [3]{b-\sqrt{b^2-4 a c}}}-\frac{\sqrt [3]{c} \left (1-\frac{b}{\sqrt{b^2-4 a c}}\right ) \log \left (-\sqrt [3]{2} \sqrt [3]{c} x \sqrt [3]{\sqrt{b^2-4 a c}+b}+\left (\sqrt{b^2-4 a c}+b\right )^{2/3}+2^{2/3} c^{2/3} x^2\right )}{6\ 2^{2/3} a \sqrt [3]{\sqrt{b^2-4 a c}+b}}+\frac{\sqrt [3]{c} \left (\frac{b}{\sqrt{b^2-4 a c}}+1\right ) \log \left (\sqrt [3]{b-\sqrt{b^2-4 a c}}+\sqrt [3]{2} \sqrt [3]{c} x\right )}{3\ 2^{2/3} a \sqrt [3]{b-\sqrt{b^2-4 a c}}}+\frac{\sqrt [3]{c} \left (1-\frac{b}{\sqrt{b^2-4 a c}}\right ) \log \left (\sqrt [3]{\sqrt{b^2-4 a c}+b}+\sqrt [3]{2} \sqrt [3]{c} x\right )}{3\ 2^{2/3} a \sqrt [3]{\sqrt{b^2-4 a c}+b}}+\frac{\sqrt [3]{c} \left (\frac{b}{\sqrt{b^2-4 a c}}+1\right ) \tan ^{-1}\left (\frac{1-\frac{2 \sqrt [3]{2} \sqrt [3]{c} x}{\sqrt [3]{b-\sqrt{b^2-4 a c}}}}{\sqrt{3}}\right )}{2^{2/3} \sqrt{3} a \sqrt [3]{b-\sqrt{b^2-4 a c}}}+\frac{\sqrt [3]{c} \left (1-\frac{b}{\sqrt{b^2-4 a c}}\right ) \tan ^{-1}\left (\frac{1-\frac{2 \sqrt [3]{2} \sqrt [3]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^2 - 4*a*c])^(1/3))

________________________________________________________________________________________

Rubi [A]  time = 0.818118, antiderivative size = 610, normalized size of antiderivative = 1., number of steps used = 14, number of rules used = 8, integrand size = 18, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.444, Rules used = {1368, 1510, 292, 31, 634, 617, 204, 628} \[ -\frac{\sqrt [3]{c} \left (\frac{b}{\sqrt{b^2-4 a c}}+1\right ) \log \left (-\sqrt [3]{2} \sqrt [3]{c} x \sqrt [3]{b-\sqrt{b^2-4 a c}}+\left (b-\sqrt{b^2-4 a c}\right )^{2/3}+2^{2/3} c^{2/3} x^2\right )}{6\ 2^{2/3} a \sqrt [3]{b-\sqrt{b^2-4 a c}}}-\frac{\sqrt [3]{c} \left (1-\frac{b}{\sqrt{b^2-4 a c}}\right ) \log \left (-\sqrt [3]{2} \sqrt [3]{c} x \sqrt [3]{\sqrt{b^2-4 a c}+b}+\left (\sqrt{b^2-4 a c}+b\right )^{2/3}+2^{2/3} c^{2/3} x^2\right )}{6\ 2^{2/3} a \sqrt [3]{\sqrt{b^2-4 a c}+b}}+\frac{\sqrt [3]{c} \left (\frac{b}{\sqrt{b^2-4 a c}}+1\right ) \log \left (\sqrt [3]{b-\sqrt{b^2-4 a c}}+\sqrt [3]{2} \sqrt [3]{c} x\right )}{3\ 2^{2/3} a \sqrt [3]{b-\sqrt{b^2-4 a c}}}+\frac{\sqrt [3]{c} \left (1-\frac{b}{\sqrt{b^2-4 a c}}\right ) \log \left (\sqrt [3]{\sqrt{b^2-4 a c}+b}+\sqrt [3]{2} \sqrt [3]{c} x\right )}{3\ 2^{2/3} a \sqrt [3]{\sqrt{b^2-4 a c}+b}}+\frac{\sqrt [3]{c} \left (\frac{b}{\sqrt{b^2-4 a c}}+1\right ) \tan ^{-1}\left (\frac{1-\frac{2 \sqrt [3]{2} \sqrt [3]{c} x}{\sqrt [3]{b-\sqrt{b^2-4 a c}}}}{\sqrt{3}}\right )}{2^{2/3} \sqrt{3} a \sqrt [3]{b-\sqrt{b^2-4 a c}}}+\frac{\sqrt [3]{c} \left (1-\frac{b}{\sqrt{b^2-4 a c}}\right ) \tan ^{-1}\left (\frac{1-\frac{2 \sqrt [3]{2} \sqrt [3]{c} x}{\sqrt [3]{\sqrt{b^2-4 a c}+b}}}{\sqrt{3}}\right )}{2^{2/3} \sqrt{3} a \sqrt [3]{\sqrt{b^2-4 a c}+b}}-\frac{1}{a x} \]

Antiderivative was successfully verified.

[In]

Int[1/(x^2*(a + b*x^3 + c*x^6)),x]

[Out]

-(1/(a*x)) + (c^(1/3)*(1 + b/Sqrt[b^2 - 4*a*c])*ArcTan[(1 - (2*2^(1/3)*c^(1/3)*x)/(b - Sqrt[b^2 - 4*a*c])^(1/3
))/Sqrt[3]])/(2^(2/3)*Sqrt[3]*a*(b - Sqrt[b^2 - 4*a*c])^(1/3)) + (c^(1/3)*(1 - b/Sqrt[b^2 - 4*a*c])*ArcTan[(1
- (2*2^(1/3)*c^(1/3)*x)/(b + Sqrt[b^2 - 4*a*c])^(1/3))/Sqrt[3]])/(2^(2/3)*Sqrt[3]*a*(b + Sqrt[b^2 - 4*a*c])^(1
/3)) + (c^(1/3)*(1 + b/Sqrt[b^2 - 4*a*c])*Log[(b - Sqrt[b^2 - 4*a*c])^(1/3) + 2^(1/3)*c^(1/3)*x])/(3*2^(2/3)*a
*(b - Sqrt[b^2 - 4*a*c])^(1/3)) + (c^(1/3)*(1 - b/Sqrt[b^2 - 4*a*c])*Log[(b + Sqrt[b^2 - 4*a*c])^(1/3) + 2^(1/
3)*c^(1/3)*x])/(3*2^(2/3)*a*(b + Sqrt[b^2 - 4*a*c])^(1/3)) - (c^(1/3)*(1 + b/Sqrt[b^2 - 4*a*c])*Log[(b - Sqrt[
b^2 - 4*a*c])^(2/3) - 2^(1/3)*c^(1/3)*(b - Sqrt[b^2 - 4*a*c])^(1/3)*x + 2^(2/3)*c^(2/3)*x^2])/(6*2^(2/3)*a*(b
- Sqrt[b^2 - 4*a*c])^(1/3)) - (c^(1/3)*(1 - b/Sqrt[b^2 - 4*a*c])*Log[(b + Sqrt[b^2 - 4*a*c])^(2/3) - 2^(1/3)*c
^(1/3)*(b + Sqrt[b^2 - 4*a*c])^(1/3)*x + 2^(2/3)*c^(2/3)*x^2])/(6*2^(2/3)*a*(b + Sqrt[b^2 - 4*a*c])^(1/3))

Rule 1368

Int[((d_.)*(x_))^(m_)*((a_) + (c_.)*(x_)^(n2_.) + (b_.)*(x_)^(n_))^(p_), x_Symbol] :> Simp[((d*x)^(m + 1)*(a +
 b*x^n + c*x^(2*n))^(p + 1))/(a*d*(m + 1)), x] - Dist[1/(a*d^n*(m + 1)), Int[(d*x)^(m + n)*(b*(m + n*(p + 1) +
 1) + c*(m + 2*n*(p + 1) + 1)*x^n)*(a + b*x^n + c*x^(2*n))^p, x], x] /; FreeQ[{a, b, c, d, p}, x] && EqQ[n2, 2
*n] && NeQ[b^2 - 4*a*c, 0] && IGtQ[n, 0] && LtQ[m, -1] && IntegerQ[p]

Rule 1510

Int[(((f_.)*(x_))^(m_.)*((d_) + (e_.)*(x_)^(n_)))/((a_) + (b_.)*(x_)^(n_) + (c_.)*(x_)^(n2_)), x_Symbol] :> Wi
th[{q = Rt[b^2 - 4*a*c, 2]}, Dist[e/2 + (2*c*d - b*e)/(2*q), Int[(f*x)^m/(b/2 - q/2 + c*x^n), x], x] + Dist[e/
2 - (2*c*d - b*e)/(2*q), Int[(f*x)^m/(b/2 + q/2 + c*x^n), x], x]] /; FreeQ[{a, b, c, d, e, f, m}, x] && EqQ[n2
, 2*n] && NeQ[b^2 - 4*a*c, 0] && IGtQ[n, 0]

Rule 292

Int[(x_)/((a_) + (b_.)*(x_)^3), x_Symbol] :> -Dist[(3*Rt[a, 3]*Rt[b, 3])^(-1), Int[1/(Rt[a, 3] + Rt[b, 3]*x),
x], x] + Dist[1/(3*Rt[a, 3]*Rt[b, 3]), Int[(Rt[a, 3] + Rt[b, 3]*x)/(Rt[a, 3]^2 - Rt[a, 3]*Rt[b, 3]*x + Rt[b, 3
]^2*x^2), x], x] /; FreeQ[{a, b}, x]

Rule 31

Int[((a_) + (b_.)*(x_))^(-1), x_Symbol] :> Simp[Log[RemoveContent[a + b*x, x]]/b, x] /; FreeQ[{a, b}, x]

Rule 634

Int[((d_.) + (e_.)*(x_))/((a_) + (b_.)*(x_) + (c_.)*(x_)^2), x_Symbol] :> Dist[(2*c*d - b*e)/(2*c), Int[1/(a +
 b*x + c*x^2), x], x] + Dist[e/(2*c), Int[(b + 2*c*x)/(a + b*x + c*x^2), x], x] /; FreeQ[{a, b, c, d, e}, x] &
& NeQ[2*c*d - b*e, 0] && NeQ[b^2 - 4*a*c, 0] &&  !NiceSqrtQ[b^2 - 4*a*c]

Rule 617

Int[((a_) + (b_.)*(x_) + (c_.)*(x_)^2)^(-1), x_Symbol] :> With[{q = 1 - 4*Simplify[(a*c)/b^2]}, Dist[-2/b, Sub
st[Int[1/(q - x^2), x], x, 1 + (2*c*x)/b], x] /; RationalQ[q] && (EqQ[q^2, 1] ||  !RationalQ[b^2 - 4*a*c])] /;
 FreeQ[{a, b, c}, x] && NeQ[b^2 - 4*a*c, 0]

Rule 204

Int[((a_) + (b_.)*(x_)^2)^(-1), x_Symbol] :> -Simp[ArcTan[(Rt[-b, 2]*x)/Rt[-a, 2]]/(Rt[-a, 2]*Rt[-b, 2]), x] /
; FreeQ[{a, b}, x] && PosQ[a/b] && (LtQ[a, 0] || LtQ[b, 0])

Rule 628

Int[((d_) + (e_.)*(x_))/((a_.) + (b_.)*(x_) + (c_.)*(x_)^2), x_Symbol] :> Simp[(d*Log[RemoveContent[a + b*x +
c*x^2, x]])/b, x] /; FreeQ[{a, b, c, d, e}, x] && EqQ[2*c*d - b*e, 0]

Rubi steps

\begin{align*} \int \frac{1}{x^2 \left (a+b x^3+c x^6\right )} \, dx &=-\frac{1}{a x}+\frac{\int \frac{x \left (-b-c x^3\right )}{a+b x^3+c x^6} \, dx}{a}\\ &=-\frac{1}{a x}-\frac{\left (c \left (1-\frac{b}{\sqrt{b^2-4 a c}}\right )\right ) \int \frac{x}{\frac{b}{2}+\frac{1}{2} \sqrt{b^2-4 a c}+c x^3} \, dx}{2 a}-\frac{\left (c \left (1+\frac{b}{\sqrt{b^2-4 a c}}\right )\right ) \int \frac{x}{\frac{b}{2}-\frac{1}{2} \sqrt{b^2-4 a c}+c x^3} \, dx}{2 a}\\ &=-\frac{1}{a x}+\frac{\left (c^{2/3} \left (1+\frac{b}{\sqrt{b^2-4 a c}}\right )\right ) \int \frac{1}{\frac{\sqrt [3]{b-\sqrt{b^2-4 a c}}}{\sqrt [3]{2}}+\sqrt [3]{c} x} \, dx}{3\ 2^{2/3} a \sqrt [3]{b-\sqrt{b^2-4 a c}}}-\frac{\left (c^{2/3} \left (1+\frac{b}{\sqrt{b^2-4 a c}}\right )\right ) \int \frac{\frac{\sqrt [3]{b-\sqrt{b^2-4 a c}}}{\sqrt [3]{2}}+\sqrt [3]{c} x}{\frac{\left (b-\sqrt{b^2-4 a c}\right )^{2/3}}{2^{2/3}}-\frac{\sqrt [3]{c} \sqrt [3]{b-\sqrt{b^2-4 a c}} x}{\sqrt [3]{2}}+c^{2/3} x^2} \, dx}{3\ 2^{2/3} a \sqrt [3]{b-\sqrt{b^2-4 a c}}}+\frac{\left (c^{2/3} \left (1-\frac{b}{\sqrt{b^2-4 a c}}\right )\right ) \int \frac{1}{\frac{\sqrt [3]{b+\sqrt{b^2-4 a c}}}{\sqrt [3]{2}}+\sqrt [3]{c} x} \, dx}{3\ 2^{2/3} a \sqrt [3]{b+\sqrt{b^2-4 a c}}}-\frac{\left (c^{2/3} \left (1-\frac{b}{\sqrt{b^2-4 a c}}\right )\right ) \int \frac{\frac{\sqrt [3]{b+\sqrt{b^2-4 a c}}}{\sqrt [3]{2}}+\sqrt [3]{c} x}{\frac{\left (b+\sqrt{b^2-4 a c}\right )^{2/3}}{2^{2/3}}-\frac{\sqrt [3]{c} \sqrt [3]{b+\sqrt{b^2-4 a c}} x}{\sqrt [3]{2}}+c^{2/3} x^2} \, dx}{3\ 2^{2/3} a \sqrt [3]{b+\sqrt{b^2-4 a c}}}\\ &=-\frac{1}{a x}+\frac{\sqrt [3]{c} \left (1+\frac{b}{\sqrt{b^2-4 a c}}\right ) \log \left (\sqrt [3]{b-\sqrt{b^2-4 a c}}+\sqrt [3]{2} \sqrt [3]{c} x\right )}{3\ 2^{2/3} a \sqrt [3]{b-\sqrt{b^2-4 a c}}}+\frac{\sqrt [3]{c} \left (1-\frac{b}{\sqrt{b^2-4 a c}}\right ) \log \left (\sqrt [3]{b+\sqrt{b^2-4 a c}}+\sqrt [3]{2} \sqrt [3]{c} x\right )}{3\ 2^{2/3} a \sqrt [3]{b+\sqrt{b^2-4 a c}}}-\frac{\left (c^{2/3} \left (1-\frac{b}{\sqrt{b^2-4 a c}}\right )\right ) \int \frac{1}{\frac{\left (b+\sqrt{b^2-4 a c}\right )^{2/3}}{2^{2/3}}-\frac{\sqrt [3]{c} \sqrt [3]{b+\sqrt{b^2-4 a c}} x}{\sqrt [3]{2}}+c^{2/3} x^2} \, dx}{4 a}-\frac{\left (c^{2/3} \left (1+\frac{b}{\sqrt{b^2-4 a c}}\right )\right ) \int \frac{1}{\frac{\left (b-\sqrt{b^2-4 a c}\right )^{2/3}}{2^{2/3}}-\frac{\sqrt [3]{c} \sqrt [3]{b-\sqrt{b^2-4 a c}} x}{\sqrt [3]{2}}+c^{2/3} x^2} \, dx}{4 a}-\frac{\left (\sqrt [3]{c} \left (1+\frac{b}{\sqrt{b^2-4 a c}}\right )\right ) \int \frac{-\frac{\sqrt [3]{c} \sqrt [3]{b-\sqrt{b^2-4 a c}}}{\sqrt [3]{2}}+2 c^{2/3} x}{\frac{\left (b-\sqrt{b^2-4 a c}\right )^{2/3}}{2^{2/3}}-\frac{\sqrt [3]{c} \sqrt [3]{b-\sqrt{b^2-4 a c}} x}{\sqrt [3]{2}}+c^{2/3} x^2} \, dx}{6\ 2^{2/3} a \sqrt [3]{b-\sqrt{b^2-4 a c}}}-\frac{\left (\sqrt [3]{c} \left (1-\frac{b}{\sqrt{b^2-4 a c}}\right )\right ) \int \frac{-\frac{\sqrt [3]{c} \sqrt [3]{b+\sqrt{b^2-4 a c}}}{\sqrt [3]{2}}+2 c^{2/3} x}{\frac{\left (b+\sqrt{b^2-4 a c}\right )^{2/3}}{2^{2/3}}-\frac{\sqrt [3]{c} \sqrt [3]{b+\sqrt{b^2-4 a c}} x}{\sqrt [3]{2}}+c^{2/3} x^2} \, dx}{6\ 2^{2/3} a \sqrt [3]{b+\sqrt{b^2-4 a c}}}\\ &=-\frac{1}{a x}+\frac{\sqrt [3]{c} \left (1+\frac{b}{\sqrt{b^2-4 a c}}\right ) \log \left (\sqrt [3]{b-\sqrt{b^2-4 a c}}+\sqrt [3]{2} \sqrt [3]{c} x\right )}{3\ 2^{2/3} a \sqrt [3]{b-\sqrt{b^2-4 a c}}}+\frac{\sqrt [3]{c} \left (1-\frac{b}{\sqrt{b^2-4 a c}}\right ) \log \left (\sqrt [3]{b+\sqrt{b^2-4 a c}}+\sqrt [3]{2} \sqrt [3]{c} x\right )}{3\ 2^{2/3} a \sqrt [3]{b+\sqrt{b^2-4 a c}}}-\frac{\sqrt [3]{c} \left (1+\frac{b}{\sqrt{b^2-4 a c}}\right ) \log \left (\left (b-\sqrt{b^2-4 a c}\right )^{2/3}-\sqrt [3]{2} \sqrt [3]{c} \sqrt [3]{b-\sqrt{b^2-4 a c}} x+2^{2/3} c^{2/3} x^2\right )}{6\ 2^{2/3} a \sqrt [3]{b-\sqrt{b^2-4 a c}}}-\frac{\sqrt [3]{c} \left (1-\frac{b}{\sqrt{b^2-4 a c}}\right ) \log \left (\left (b+\sqrt{b^2-4 a c}\right )^{2/3}-\sqrt [3]{2} \sqrt [3]{c} \sqrt [3]{b+\sqrt{b^2-4 a c}} x+2^{2/3} c^{2/3} x^2\right )}{6\ 2^{2/3} a \sqrt [3]{b+\sqrt{b^2-4 a c}}}-\frac{\left (\sqrt [3]{c} \left (1+\frac{b}{\sqrt{b^2-4 a c}}\right )\right ) \operatorname{Subst}\left (\int \frac{1}{-3-x^2} \, dx,x,1-\frac{2 \sqrt [3]{2} \sqrt [3]{c} x}{\sqrt [3]{b-\sqrt{b^2-4 a c}}}\right )}{2^{2/3} a \sqrt [3]{b-\sqrt{b^2-4 a c}}}-\frac{\left (\sqrt [3]{c} \left (1-\frac{b}{\sqrt{b^2-4 a c}}\right )\right ) \operatorname{Subst}\left (\int \frac{1}{-3-x^2} \, dx,x,1-\frac{2 \sqrt [3]{2} \sqrt [3]{c} x}{\sqrt [3]{b+\sqrt{b^2-4 a c}}}\right )}{2^{2/3} a \sqrt [3]{b+\sqrt{b^2-4 a c}}}\\ &=-\frac{1}{a x}+\frac{\sqrt [3]{c} \left (1+\frac{b}{\sqrt{b^2-4 a c}}\right ) \tan ^{-1}\left (\frac{1-\frac{2 \sqrt [3]{2} \sqrt [3]{c} x}{\sqrt [3]{b-\sqrt{b^2-4 a c}}}}{\sqrt{3}}\right )}{2^{2/3} \sqrt{3} a \sqrt [3]{b-\sqrt{b^2-4 a c}}}+\frac{\sqrt [3]{c} \left (1-\frac{b}{\sqrt{b^2-4 a c}}\right ) \tan ^{-1}\left (\frac{1-\frac{2 \sqrt [3]{2} \sqrt [3]{c} x}{\sqrt [3]{b+\sqrt{b^2-4 a c}}}}{\sqrt{3}}\right )}{2^{2/3} \sqrt{3} a \sqrt [3]{b+\sqrt{b^2-4 a c}}}+\frac{\sqrt [3]{c} \left (1+\frac{b}{\sqrt{b^2-4 a c}}\right ) \log \left (\sqrt [3]{b-\sqrt{b^2-4 a c}}+\sqrt [3]{2} \sqrt [3]{c} x\right )}{3\ 2^{2/3} a \sqrt [3]{b-\sqrt{b^2-4 a c}}}+\frac{\sqrt [3]{c} \left (1-\frac{b}{\sqrt{b^2-4 a c}}\right ) \log \left (\sqrt [3]{b+\sqrt{b^2-4 a c}}+\sqrt [3]{2} \sqrt [3]{c} x\right )}{3\ 2^{2/3} a \sqrt [3]{b+\sqrt{b^2-4 a c}}}-\frac{\sqrt [3]{c} \left (1+\frac{b}{\sqrt{b^2-4 a c}}\right ) \log \left (\left (b-\sqrt{b^2-4 a c}\right )^{2/3}-\sqrt [3]{2} \sqrt [3]{c} \sqrt [3]{b-\sqrt{b^2-4 a c}} x+2^{2/3} c^{2/3} x^2\right )}{6\ 2^{2/3} a \sqrt [3]{b-\sqrt{b^2-4 a c}}}-\frac{\sqrt [3]{c} \left (1-\frac{b}{\sqrt{b^2-4 a c}}\right ) \log \left (\left (b+\sqrt{b^2-4 a c}\right )^{2/3}-\sqrt [3]{2} \sqrt [3]{c} \sqrt [3]{b+\sqrt{b^2-4 a c}} x+2^{2/3} c^{2/3} x^2\right )}{6\ 2^{2/3} a \sqrt [3]{b+\sqrt{b^2-4 a c}}}\\ \end{align*}

Mathematica [C]  time = 0.0314018, size = 71, normalized size = 0.12 \[ -\frac{\text{RootSum}\left [\text{$\#$1}^3 b+\text{$\#$1}^6 c+a\& ,\frac{\text{$\#$1}^3 c \log (x-\text{$\#$1})+b \log (x-\text{$\#$1})}{2 \text{$\#$1}^4 c+\text{$\#$1} b}\& \right ]}{3 a}-\frac{1}{a x} \]

Antiderivative was successfully verified.

[In]

Integrate[1/(x^2*(a + b*x^3 + c*x^6)),x]

[Out]

-(1/(a*x)) - RootSum[a + b*#1^3 + c*#1^6 & , (b*Log[x - #1] + c*Log[x - #1]*#1^3)/(b*#1 + 2*c*#1^4) & ]/(3*a)

________________________________________________________________________________________

Maple [C]  time = 0.006, size = 61, normalized size = 0.1 \begin{align*} -{\frac{1}{ax}}-{\frac{1}{3\,a}\sum _{{\it \_R}={\it RootOf} \left ({{\it \_Z}}^{6}c+{{\it \_Z}}^{3}b+a \right ) }{\frac{ \left ({{\it \_R}}^{4}c+{\it \_R}\,b \right ) \ln \left ( x-{\it \_R} \right ) }{2\,{{\it \_R}}^{5}c+{{\it \_R}}^{2}b}}} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(1/x^2/(c*x^6+b*x^3+a),x)

[Out]

-1/a/x-1/3/a*sum((_R^4*c+_R*b)/(2*_R^5*c+_R^2*b)*ln(x-_R),_R=RootOf(_Z^6*c+_Z^3*b+a))

________________________________________________________________________________________

Maxima [F(-2)]  time = 0., size = 0, normalized size = 0. \begin{align*} \text{Exception raised: AttributeError} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(1/x^2/(c*x^6+b*x^3+a),x, algorithm="maxima")

[Out]

Exception raised: AttributeError

________________________________________________________________________________________

Fricas [B]  time = 6.21081, size = 11187, normalized size = 18.34 \begin{align*} \text{result too large to display} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(1/x^2/(c*x^6+b*x^3+a),x, algorithm="fricas")

[Out]

1/6*(4*sqrt(3)*(1/2)^(1/3)*a*x*((b^3 - 2*a*b*c + (a^4*b^2 - 4*a^5*c)*sqrt((b^8 - 8*a*b^6*c + 20*a^2*b^4*c^2 -
16*a^3*b^2*c^3 + 4*a^4*c^4)/(a^8*b^6 - 12*a^9*b^4*c + 48*a^10*b^2*c^2 - 64*a^11*c^3)))/(a^4*b^2 - 4*a^5*c))^(1
/3)*arctan(1/3*((1/2)^(5/6)*(sqrt(3)*(a^4*b^5 - 8*a^5*b^3*c + 16*a^6*b*c^2)*sqrt((b^8 - 8*a*b^6*c + 20*a^2*b^4
*c^2 - 16*a^3*b^2*c^3 + 4*a^4*c^4)/(a^8*b^6 - 12*a^9*b^4*c + 48*a^10*b^2*c^2 - 64*a^11*c^3)) - sqrt(3)*(b^6 -
8*a*b^4*c + 18*a^2*b^2*c^2 - 8*a^3*c^3))*((b^3 - 2*a*b*c + (a^4*b^2 - 4*a^5*c)*sqrt((b^8 - 8*a*b^6*c + 20*a^2*
b^4*c^2 - 16*a^3*b^2*c^3 + 4*a^4*c^4)/(a^8*b^6 - 12*a^9*b^4*c + 48*a^10*b^2*c^2 - 64*a^11*c^3)))/(a^4*b^2 - 4*
a^5*c))^(1/3)*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4*c + 48*a^10*b^2*c^2 - 64*a^11*c^3)))*((b^3 - 2*a*b*c + (a^4*b^2 - 4*a^5*c)*sqrt((b^8 - 8*a*b^6*c + 20*a
^2*b^4*c^2 - 16*a^3*b^2*c^3 + 4*a^4*c^4)/(a^8*b^6 - 12*a^9*b^4*c + 48*a^10*b^2*c^2 - 64*a^11*c^3)))/(a^4*b^2 -
 4*a^5*c))^(2/3) + 2*(b^4*c^3 - 4*a*b^2*c^4 + 2*a^2*c^5)*x) + 2*(1/2)^(1/3)*a*x*((b^3 - 2*a*b*c - (a^4*b^2 - 4
*a^5*c)*sqrt((b^8 - 8*a*b^6*c + 20*a^2*b^4*c^2 - 16*a^3*b^2*c^3 + 4*a^4*c^4)/(a^8*b^6 - 12*a^9*b^4*c + 48*a^10
*b^2*c^2 - 64*a^11*c^3)))/(a^4*b^2 - 4*a^5*c))^(1/3)*log((1/2)^(2/3)*(b^9 - 11*a*b^7*c + 42*a^2*b^5*c^2 - 62*a
^3*b^3*c^3 + 24*a^4*b*c^4 + (a^4*b^8 - 13*a^5*b^6*c + 60*a^6*b^4*c^2 - 112*a^7*b^2*c^3 + 64*a^8*c^4)*sqrt((b^8
 - 8*a*b^6*c + 20*a^2*b^4*c^2 - 16*a^3*b^2*c^3 + 4*a^4*c^4)/(a^8*b^6 - 12*a^9*b^4*c + 48*a^10*b^2*c^2 - 64*a^1
1*c^3)))*((b^3 - 2*a*b*c - (a^4*b^2 - 4*a^5*c)*sqrt((b^8 - 8*a*b^6*c + 20*a^2*b^4*c^2 - 16*a^3*b^2*c^3 + 4*a^4
*c^4)/(a^8*b^6 - 12*a^9*b^4*c + 48*a^10*b^2*c^2 - 64*a^11*c^3)))/(a^4*b^2 - 4*a^5*c))^(2/3) + 2*(b^4*c^3 - 4*a
*b^2*c^4 + 2*a^2*c^5)*x) - 6)/(a*x)

________________________________________________________________________________________

Sympy [A]  time = 2.54423, size = 252, normalized size = 0.41 \begin{align*} \operatorname{RootSum}{\left (t^{6} \left (46656 a^{7} c^{3} - 34992 a^{6} b^{2} c^{2} + 8748 a^{5} b^{4} c - 729 a^{4} b^{6}\right ) + t^{3} \left (- 864 a^{3} b c^{3} + 864 a^{2} b^{3} c^{2} - 270 a b^{5} c + 27 b^{7}\right ) + c^{4}, \left ( t \mapsto t \log{\left (x + \frac{- 15552 t^{5} a^{8} c^{4} + 27216 t^{5} a^{7} b^{2} c^{3} - 14580 t^{5} a^{6} b^{4} c^{2} + 3159 t^{5} a^{5} b^{6} c - 243 t^{5} a^{4} b^{8} + 252 t^{2} a^{4} b c^{4} - 567 t^{2} a^{3} b^{3} c^{3} + 378 t^{2} a^{2} b^{5} c^{2} - 99 t^{2} a b^{7} c + 9 t^{2} b^{9}}{2 a^{2} c^{5} - 4 a b^{2} c^{4} + b^{4} c^{3}} \right )} \right )\right )} - \frac{1}{a x} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(1/x**2/(c*x**6+b*x**3+a),x)

[Out]

RootSum(_t**6*(46656*a**7*c**3 - 34992*a**6*b**2*c**2 + 8748*a**5*b**4*c - 729*a**4*b**6) + _t**3*(-864*a**3*b
*c**3 + 864*a**2*b**3*c**2 - 270*a*b**5*c + 27*b**7) + c**4, Lambda(_t, _t*log(x + (-15552*_t**5*a**8*c**4 + 2
7216*_t**5*a**7*b**2*c**3 - 14580*_t**5*a**6*b**4*c**2 + 3159*_t**5*a**5*b**6*c - 243*_t**5*a**4*b**8 + 252*_t
**2*a**4*b*c**4 - 567*_t**2*a**3*b**3*c**3 + 378*_t**2*a**2*b**5*c**2 - 99*_t**2*a*b**7*c + 9*_t**2*b**9)/(2*a
**2*c**5 - 4*a*b**2*c**4 + b**4*c**3)))) - 1/(a*x)

________________________________________________________________________________________

Giac [F]  time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{1}{{\left (c x^{6} + b x^{3} + a\right )} x^{2}}\,{d x} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(1/x^2/(c*x^6+b*x^3+a),x, algorithm="giac")

[Out]

integrate(1/((c*x^6 + b*x^3 + a)*x^2), x)